package com.staginfo.segs.function.registerOrLogin.login.LoginConstruct;


import com.staginfo.segs.common.ApiAsyncTask;

/**
 * Created by robert.luozizhao on 2017/9/5 0005.
 */

public class LoginConstruct {
    // view-->实现
    public interface LoginView<T>{
         /*登录成功与否*/
        void loginSuccess(T t);
        void loginFailed(int method, int statuesCode);

        /*获取数据*/
        String getUsername();
        String getPassword();

        /*刷新数据*/
        void refreshData(T data);

    }


    public interface LoginModel<T>{
        void getData(T t);
    }


    public interface LoginPersenter{
        void getListData(String name, String password, String terminalId, ApiAsyncTask.ApiRequestListener apiRequestListener);
    }



}
